
package com.schedualnew.mq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.schedualnew.mq.dto.exam.DictScheduleApmDto;
import com.schedualnew.mq.entity.DictScheduleApm;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 预约队列时段表
 */

@Mapper
public interface DictScheduleApmMapper extends BaseMapper<DictScheduleApm> {
    List<DictScheduleApmDto> getScheduleApms(DictScheduleApmDto p0);

    List<DictScheduleApmDto> getCommonScheduleApm(DictScheduleApmDto p0);

    List<DictScheduleApmDto> getWeekScheduleApm(DictScheduleApmDto p0);

    List<DictScheduleApmDto> getDateScheduleApm(DictScheduleApmDto p0);

    List<DictScheduleApmDto> getExamQueueApm(DictScheduleApmDto p0);

    List<DictScheduleApmDto> getOneDateExamQueueApm(DictScheduleApmDto p0);

    List<DictScheduleApmDto> getOneWeekExamQueueApm(DictScheduleApmDto p0);

    int isTimeRepeated(DictScheduleApmDto p0);

    int isDateRepeated(DictScheduleApmDto p0);

    int isExistScheduleApm(DictScheduleApmDto p0);

    List<DictScheduleApmDto> getMaxLimit(DictScheduleApmDto p0);

    List<String> getScheduleApm(DictScheduleApmDto p0);

    List<DictScheduleApmDto> getList(DictScheduleApmDto p0);

    DictScheduleApmDto getScheduleRange(DictScheduleApmDto p0);

    int isScheduleCount(DictScheduleApmDto p0);

    int delForRange(DictScheduleApmDto p0);

    int delForRegular(DictScheduleApmDto p0);

    DictScheduleApm getBigSchedule(DictScheduleApm p0);

    void updateTsak(DictScheduleApm p0);
}
